﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;

namespace SD.IDAL
{
    public interface ISupportingMaterialDAO
    {
        List<SupportingMaterial> GetAll(Boolean includeInactive);

        List<SupportingMaterial> GetByOrgId(string orgId, Boolean includeInactive);

        SupportingMaterial GetById(string smId);

        bool Insert(SupportingMaterial sm);

        bool Update(SupportingMaterial sm);

        bool Delete(string smId);

        List<SupportingMaterial> SelectByOrgId(string orgId, int pageNumber, int pageSize, out int totalPages, bool includeInactive);

        bool SetActive(string smId, bool status);
    }
}
